﻿@model BusinessManagementStudio.ViewModel.FManagementCreation

@{
    ViewBag.Title = "New FM";
}

<title>FM Creation</title>

<h2 align="center">New FM</h2>

@using (Html.BeginForm("MultipleCommandForAdmin", "Maintenance"))
{
    @Html.ValidationSummary(true)

    <table align="center">
        <tr>
            <td width="100">FM Code :</td>
            <td>@Html.TextBox("FMCode")</td>
        </tr>
        <tr>
            <td>Current Number :</td>
            <td>@Html.TextBox("CurrFMID", Model.FMList.Count, new { @class = "text-box single-line readonly", @readonly = "readonly" })</td>
        </tr>
    </table>
    
    <br />
    
    <div align="center">
        <button type="submit" name="Command" value="CreateFM">Create</button>
        <button type="submit" name="Command" value="Cancel">Cancel</button> 
    </div>
    
    <br />
    <div align="center">© 2013 BD Studio</div>
}
 
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}

